package com.vayne.thread;

/**
 * @author xuerui.zhang
 * @since 2020/4/27 下午10:15
 */
public class StrTestDemo {

    public static void main(String[] args) {
        String a = "hello1";
        final String b = "hello";
        String c = "hello";
        String d = b + 1;
        String e = c + 1;
        System.out.println(a == d);
        System.out.println(a == e);
    }
}
